<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATECCore/GeomData.h 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_b036ea399c584d2b2a32165352c4a594.html">ATECCore</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">GeomData.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &lt;map&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="keyword">namespace </span>GeometryExtractor</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span>{</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="../../de/dc4/struct_geometry_extractor_1_1_texture_color.html">   15</a></span>    <span class="keyword">struct </span>ATECCORE_EXPORTED <a class="code hl_struct" href="../../de/dc4/struct_geometry_extractor_1_1_texture_color.html">TextureColor</a></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span>    {</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span>        <span class="keywordtype">double</span> color[4]; <span class="comment">// rgba 分量范围[0.0, 1.0]，alpha通道0为全透明，1为不透明</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span>        std::vector&lt;ATEC::WString&gt; texturePaths; <span class="comment">// 贴图路径</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span>        <span class="keywordtype">double</span> repeatU = -1.0; <span class="comment">// 贴图u方向重复次数，正确设置时仅1.0与0.0两个值</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span>        <span class="keywordtype">double</span> repeatV = -1.0; <span class="comment">// 贴图v方向重复次数，正确设置时仅1.0与0.0两个值</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>        <span class="keywordtype">double</span> intensity = -1.0; <span class="comment">// ambient材质的亮度值</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="../../de/dc4/struct_geometry_extractor_1_1_texture_color.html#a7535664242d6a53899c8c20336345c96">   34</a></span>        std::vector&lt;double&gt; <a class="code hl_function" href="../../de/dc4/struct_geometry_extractor_1_1_texture_color.html#a7535664242d6a53899c8c20336345c96">GetColorVector</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="../../de/dc4/struct_geometry_extractor_1_1_texture_color.html#a51b7e7892fa0823f1014862de5d5288e">   48</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/dc4/struct_geometry_extractor_1_1_texture_color.html#a51b7e7892fa0823f1014862de5d5288e">SetColor</a>(<span class="keyword">const</span> <span class="keywordtype">double</span>&amp; r, <span class="keyword">const</span> <span class="keywordtype">double</span>&amp; g, <span class="keyword">const</span> <span class="keywordtype">double</span>&amp; b, <span class="keyword">const</span> <span class="keywordtype">double</span>&amp; t);</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>        <a class="code hl_struct" href="../../de/dc4/struct_geometry_extractor_1_1_texture_color.html">TextureColor</a>();</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span>    };</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="../../d0/d00/struct_geometry_extractor_1_1_single_material.html">   59</a></span>    <span class="keyword">struct </span>ATECCORE_EXPORTED <a class="code hl_struct" href="../../d0/d00/struct_geometry_extractor_1_1_single_material.html">SingleMaterial</a></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>    {</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>        ATEC::WString guid; <span class="comment">// guid</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span> </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>        std::map&lt;ATEC::WString, TextureColor&gt; materialData; <span class="comment">// 材质的数据 key (&quot;emissive&quot;等)</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>        ATEC::WString name; <span class="comment">// 材质名称</span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>        <span class="keywordtype">double</span> opacity = 1.0; <span class="comment">// 透明度</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>        <span class="keywordtype">double</span> shininess = 1.0; <span class="comment">//会聚指数</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>        <a class="code hl_struct" href="../../d0/d00/struct_geometry_extractor_1_1_single_material.html">SingleMaterial</a>();</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="../../d0/d00/struct_geometry_extractor_1_1_single_material.html#a43a31d0ba14faaa9b037259f5604a1bf">   82</a></span>        <a class="code hl_struct" href="../../de/dc4/struct_geometry_extractor_1_1_texture_color.html">TextureColor</a>&amp; <a class="code hl_function" href="../../d0/d00/struct_geometry_extractor_1_1_single_material.html#a43a31d0ba14faaa9b037259f5604a1bf">operator[]</a>(ATEC::WStringCR key);</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>    };</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"><a class="line" href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html">   91</a></span>    <span class="keyword">struct </span>ATECCORE_EXPORTED <a class="code hl_struct" href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html">ComponentProperty</a></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>    {</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>        ATEC::WString guid; <span class="comment">// guid</span></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>        ATEC::ATDataCore::ObjectId objId = INVALID_OBIECTID; <span class="comment">// 元素Id</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span> </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span>        <span class="keywordtype">double</span> matrix[16]; <span class="comment">// 元素变换矩阵</span></div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>        <span class="keywordtype">double</span> bboxMin[3]; <span class="comment">// 包围盒最小点</span></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span> </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>        <span class="keywordtype">double</span> bboxMax[3]; <span class="comment">// 包围盒最大点</span></div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span> </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>        <span class="keyword">typedef</span> std::pair&lt;ATEC::WString, ATEC::WString&gt; AttributeKeyValue;</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>        <span class="keyword">typedef</span> std::pair&lt;ATEC::WString, std::vector&lt;AttributeKeyValue&gt;&gt; AttributeGroup;</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>        std::vector&lt;AttributeGroup&gt; attributes; <span class="comment">// 属性</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span> </div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>        <a class="code hl_struct" href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html">ComponentProperty</a>();</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html#af1fcc299778065ba09093a50fdb53e6c">  118</a></span>        std::vector&lt;double&gt; <a class="code hl_function" href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html#af1fcc299778065ba09093a50fdb53e6c">GetMatrixVector</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html#ad67db142b57dc63e2dc36893eb16a2c9">  128</a></span>        std::vector&lt;double&gt; <a class="code hl_function" href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html#ad67db142b57dc63e2dc36893eb16a2c9">GetBBoxMinVector</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span> </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html#ae6f7ff95b4090806b0cf7b4b63cf7afd">  138</a></span>        std::vector&lt;double&gt; <a class="code hl_function" href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html#ae6f7ff95b4090806b0cf7b4b63cf7afd">GetBBoxMaxVector</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>    };</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span> </div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"><a class="line" href="../../dd/d8a/struct_geometry_extractor_1_1_component.html">  147</a></span>    <span class="keyword">struct </span>ATECCORE_EXPORTED <a class="code hl_struct" href="../../dd/d8a/struct_geometry_extractor_1_1_component.html">Component</a>: <span class="keyword">public</span> <a class="code hl_struct" href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html">ComponentProperty</a></div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span>    {</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span>        std::vector&lt;ATEC::WString&gt; geoGuids; <span class="comment">// 几何数据guid索引</span></div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span> </div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span>        <a class="code hl_struct" href="../../dd/d8a/struct_geometry_extractor_1_1_component.html">Component</a>();</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span>    };</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span> </div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="../../dd/d56/struct_geometry_extractor_1_1_single_geometry.html">  160</a></span>    <span class="keyword">struct </span>ATECCORE_EXPORTED <a class="code hl_struct" href="../../dd/d56/struct_geometry_extractor_1_1_single_geometry.html">SingleGeometry</a></div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span>    {</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span>        <span class="comment">// 几何类型</span></div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span>        <span class="keyword">enum class</span> GeomType</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span>        {</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span>            TriMesh = 0, <span class="comment">// 三角网</span></div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span>            Curve = 1, <span class="comment">// 曲线（线串以直代曲，此时几何数据中仅顶点坐标有值，代表线串各个顶点）</span></div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span>        };</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span> </div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span>        ATEC::WString guid; <span class="comment">// guid</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span> </div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span>        std::vector&lt;int&gt; indices; <span class="comment">// 顶点索引</span></div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span> </div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span>        std::vector&lt;double&gt; positions; <span class="comment">// 顶点坐标</span></div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span> </div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span>        std::vector&lt;double&gt; vertexColors; <span class="comment">// 顶点颜色，四位一组，rgba</span></div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span> </div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span>        std::vector&lt;double&gt; normals; <span class="comment">// 顶点法线</span></div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span> </div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span>        std::vector&lt;double&gt; uvs; <span class="comment">// uv坐标</span></div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span> </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span>        GeomType geomType; <span class="comment">// 几何类型</span></div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span> </div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span>        ATEC::WString selectionId; <span class="comment">// 选择ID，多个具有相同selectionId的SingleGeometry构成一个可以选中的最小单元</span></div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span> </div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span>        ATEC::WString materialGuid; <span class="comment">// 材质guid</span></div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno">  186</span> </div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span>        <span class="keywordtype">bool</span> isShared = <span class="keyword">false</span>; <span class="comment">// 是否是共享几何</span></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span>        </div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span>        ATEC::ATDataCore::HATObject belongingElem;</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>        <a class="code hl_struct" href="../../dd/d56/struct_geometry_extractor_1_1_single_geometry.html">SingleGeometry</a>();</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span>    };</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span> </div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"><a class="line" href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html">  200</a></span>    <span class="keyword">struct </span>ATECCORE_EXPORTED <a class="code hl_struct" href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html">ExportOptions</a></div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span>    {</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span>        ATEC::IFacetOptionsPtr facetOptions; <span class="comment">// 三角面片化设置</span></div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span> </div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span>        ATEC::XPoint3d exportBasePt; <span class="comment">// 导出的基点（单位m），元素的中心将移动至该点</span></div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span> </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno">  206</span>        <span class="keywordtype">bool</span> ignoreInvisible; <span class="comment">// 是否忽略不可见元素</span></div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno">  207</span> </div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span>        <span class="keywordtype">bool</span> includeAttachments; <span class="comment">// 是否包含参考文件中的元素，场景/文件级别导出才有效</span></div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span> </div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span>        ATEC::Transform refTransform; <span class="comment">// 参考元素相对与根场景的变换矩阵，元素级别（单个元素）导出才有效</span></div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span> </div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno">  212</span>        <span class="keywordtype">bool</span> exportCurves; <span class="comment">// 是否导出曲线</span></div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno">  213</span> </div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno">  214</span>        <span class="keywordtype">bool</span> exportTexts; <span class="comment">// 是否导出文本，设置该值为true的时候建议将exportCurve同步设置为true（因文本可能被处理成曲线或三角网）</span></div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno">  215</span> </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span>        <span class="keywordtype">bool</span> exportAttributes; <span class="comment">// 是否导出元素的属性，默认为true</span></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span> </div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"><a class="line" href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html#a2f92c8f67e028744ab98afc391bbddb7">  232</a></span>        <span class="keyword">static</span> <a class="code hl_struct" href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html">ExportOptions</a> <a class="code hl_function" href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html#a2f92c8f67e028744ab98afc391bbddb7">CreateForElem</a>(ATEC::IFacetOptionsPtr facetOptions = NULL, ATEC::XPoint3dCP exportBasePt = NULL, <span class="keywordtype">bool</span> ignoreInvisible = <span class="keyword">true</span>, ATEC::TransformCR refTransform = ATEC::Transform::FromIdentity(), <span class="keywordtype">bool</span> exportCurves = <span class="keyword">true</span>, <span class="keywordtype">bool</span> exportTexts = <span class="keyword">true</span>);</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span> </div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"><a class="line" href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html#a27bd1c3c162d910f427a4162b8cbc14e">  247</a></span>        <span class="keyword">static</span> <a class="code hl_struct" href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html">ExportOptions</a> <a class="code hl_function" href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html#a27bd1c3c162d910f427a4162b8cbc14e">CreateForMultiElems</a>(ATEC::IFacetOptionsPtr facetOptions = NULL, ATEC::XPoint3dCP exportBasePt = NULL, <span class="keywordtype">bool</span> ignoreInvisible = <span class="keyword">true</span>, <span class="keywordtype">bool</span> exportCurves = <span class="keyword">true</span>, <span class="keywordtype">bool</span> exportTexts = <span class="keyword">true</span>);</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno">  248</span> </div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"><a class="line" href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html#a79afcdab9e6d7ef32f6c9a0737abe476">  263</a></span>        <span class="keyword">static</span> <a class="code hl_struct" href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html">ExportOptions</a> <a class="code hl_function" href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html#a79afcdab9e6d7ef32f6c9a0737abe476">CreateForScene</a>(ATEC::IFacetOptionsPtr facetOptions = NULL, ATEC::XPoint3dCP exportBasePt = NULL, <span class="keywordtype">bool</span> ignoreInvisible = <span class="keyword">true</span>, <span class="keywordtype">bool</span> includeAttachments = <span class="keyword">true</span>, <span class="keywordtype">bool</span> exportCurves = <span class="keyword">true</span>, <span class="keywordtype">bool</span> exportTexts = <span class="keyword">true</span>);</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno">  264</span>    </div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno">  265</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno">  266</span>        <a class="code hl_struct" href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html">ExportOptions</a>();</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno">  267</span>    };</div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno">  268</span>}</div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno">  269</span> </div>
<div class="ttc" id="astruct_geometry_extractor_1_1_component_html"><div class="ttname"><a href="../../dd/d8a/struct_geometry_extractor_1_1_component.html">GeometryExtractor::Component</a></div><div class="ttdoc">构件数据</div><div class="ttdef"><b>Definition:</b> GeomData.h:148</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_component_property_html"><div class="ttname"><a href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html">GeometryExtractor::ComponentProperty</a></div><div class="ttdoc">元素属性</div><div class="ttdef"><b>Definition:</b> GeomData.h:92</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_component_property_html_ad67db142b57dc63e2dc36893eb16a2c9"><div class="ttname"><a href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html#ad67db142b57dc63e2dc36893eb16a2c9">GeometryExtractor::ComponentProperty::GetBBoxMinVector</a></div><div class="ttdeci">std::vector&lt; double &gt; GetBBoxMinVector() const</div><div class="ttdoc">获取向量表示的包围盒最小点</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_component_property_html_ae6f7ff95b4090806b0cf7b4b63cf7afd"><div class="ttname"><a href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html#ae6f7ff95b4090806b0cf7b4b63cf7afd">GeometryExtractor::ComponentProperty::GetBBoxMaxVector</a></div><div class="ttdeci">std::vector&lt; double &gt; GetBBoxMaxVector() const</div><div class="ttdoc">获取向量表示的包围盒最大点</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_component_property_html_af1fcc299778065ba09093a50fdb53e6c"><div class="ttname"><a href="../../dd/d8b/struct_geometry_extractor_1_1_component_property.html#af1fcc299778065ba09093a50fdb53e6c">GeometryExtractor::ComponentProperty::GetMatrixVector</a></div><div class="ttdeci">std::vector&lt; double &gt; GetMatrixVector() const</div><div class="ttdoc">获取向量表示的变换矩阵</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_export_options_html"><div class="ttname"><a href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html">GeometryExtractor::ExportOptions</a></div><div class="ttdoc">导出设置</div><div class="ttdef"><b>Definition:</b> GeomData.h:201</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_export_options_html_a27bd1c3c162d910f427a4162b8cbc14e"><div class="ttname"><a href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html#a27bd1c3c162d910f427a4162b8cbc14e">GeometryExtractor::ExportOptions::CreateForMultiElems</a></div><div class="ttdeci">static ExportOptions CreateForMultiElems(ATEC::IFacetOptionsPtr facetOptions=NULL, ATEC::XPoint3dCP exportBasePt=NULL, bool ignoreInvisible=true, bool exportCurves=true, bool exportTexts=true)</div><div class="ttdoc">多个元素导出设置</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_export_options_html_a2f92c8f67e028744ab98afc391bbddb7"><div class="ttname"><a href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html#a2f92c8f67e028744ab98afc391bbddb7">GeometryExtractor::ExportOptions::CreateForElem</a></div><div class="ttdeci">static ExportOptions CreateForElem(ATEC::IFacetOptionsPtr facetOptions=NULL, ATEC::XPoint3dCP exportBasePt=NULL, bool ignoreInvisible=true, ATEC::TransformCR refTransform=ATEC::Transform::FromIdentity(), bool exportCurves=true, bool exportTexts=true)</div><div class="ttdoc">单个元素导出设置，注意对单个元素ignoreInvisible设置将无效</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_export_options_html_a79afcdab9e6d7ef32f6c9a0737abe476"><div class="ttname"><a href="../../dc/dd1/struct_geometry_extractor_1_1_export_options.html#a79afcdab9e6d7ef32f6c9a0737abe476">GeometryExtractor::ExportOptions::CreateForScene</a></div><div class="ttdeci">static ExportOptions CreateForScene(ATEC::IFacetOptionsPtr facetOptions=NULL, ATEC::XPoint3dCP exportBasePt=NULL, bool ignoreInvisible=true, bool includeAttachments=true, bool exportCurves=true, bool exportTexts=true)</div><div class="ttdoc">场景导出设置</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_single_geometry_html"><div class="ttname"><a href="../../dd/d56/struct_geometry_extractor_1_1_single_geometry.html">GeometryExtractor::SingleGeometry</a></div><div class="ttdoc">单个几何体数据</div><div class="ttdef"><b>Definition:</b> GeomData.h:161</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_single_material_html"><div class="ttname"><a href="../../d0/d00/struct_geometry_extractor_1_1_single_material.html">GeometryExtractor::SingleMaterial</a></div><div class="ttdoc">单个材质数据</div><div class="ttdef"><b>Definition:</b> GeomData.h:60</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_single_material_html_a43a31d0ba14faaa9b037259f5604a1bf"><div class="ttname"><a href="../../d0/d00/struct_geometry_extractor_1_1_single_material.html#a43a31d0ba14faaa9b037259f5604a1bf">GeometryExtractor::SingleMaterial::operator[]</a></div><div class="ttdeci">TextureColor &amp; operator[](ATEC::WStringCR key)</div><div class="ttdoc">等价于m_data[key]，不存在时将进行创建</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_texture_color_html"><div class="ttname"><a href="../../de/dc4/struct_geometry_extractor_1_1_texture_color.html">GeometryExtractor::TextureColor</a></div><div class="ttdoc">贴图路径或Rgba颜色</div><div class="ttdef"><b>Definition:</b> GeomData.h:16</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_texture_color_html_a51b7e7892fa0823f1014862de5d5288e"><div class="ttname"><a href="../../de/dc4/struct_geometry_extractor_1_1_texture_color.html#a51b7e7892fa0823f1014862de5d5288e">GeometryExtractor::TextureColor::SetColor</a></div><div class="ttdeci">void SetColor(const double &amp;r, const double &amp;g, const double &amp;b, const double &amp;t)</div><div class="ttdoc">设置rgba颜色</div></div>
<div class="ttc" id="astruct_geometry_extractor_1_1_texture_color_html_a7535664242d6a53899c8c20336345c96"><div class="ttname"><a href="../../de/dc4/struct_geometry_extractor_1_1_texture_color.html#a7535664242d6a53899c8c20336345c96">GeometryExtractor::TextureColor::GetColorVector</a></div><div class="ttdeci">std::vector&lt; double &gt; GetColorVector() const</div><div class="ttdoc">获取向量表示的rgba颜色</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
